package Arithmetic;

public class ValueDemo4 {
    public static void main(String[] args) {
        int a = 10;
        double b = 20.0;
        //隐式转换
        int result = (int) (a + b);
        System.out.println(result);//30
    }
}
